package pers.dawnyang.modular.system.domain.response.user;

import java.io.Serializable;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;

import lombok.Data;
import pers.dawnyang.common.core.annotation.Dict;

/**
 * 
 * @author dawn
 * @date 2021/03/23
 */

@Data
// @ContentRowHeight(10)
@HeadRowHeight(20)
@ColumnWidth(25)
public class UserExcelRes implements Serializable {

    private static final long serialVersionUID = 1L;

    @ExcelProperty({"用户列表", "用户编码"})
    private String userCode;
    @ExcelProperty({"用户列表", "用户姓名"})
    private String userName;
    @ExcelProperty({"用户列表", "邮箱"})
    private String email;
    @ExcelProperty({"用户列表", "电话"})
    private String phone;
    @ExcelProperty({"用户列表", "性别"})
    @Dict("sex")
    private String sex;
    @ExcelProperty({"用户列表", "状态"})
    @Dict("userStatus")
    private String userStatus;
    @ExcelProperty({"用户列表", "备注"})
    private String remark;
}
